package com.tjy.farmer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tjy.common.annotation.Excel;
import com.tjy.common.core.domain.BaseEntity;

/**
 * 数量统计对象 tb_farmer_count_info
 * 
 * @author tjy
 * @date 2025-09-08
 */
public class FarmerCountInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 蜂农数量信息主键ID */
    private Long id;

    /** 养蜂区域ID，关联tb_bee_area_info表的id */
    @Excel(name = "养蜂区域ID，关联tb_bee_area_info表的id")
    private Long areaId;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date countDate;

    /** 蜂农数量 */
    @Excel(name = "蜂农数量")
    private Long farmerCount;

    /** 统计备注 */
    @Excel(name = "统计备注")
    private String countRemark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setCountDate(Date countDate) 
    {
        this.countDate = countDate;
    }

    public Date getCountDate() 
    {
        return countDate;
    }

    public void setFarmerCount(Long farmerCount) 
    {
        this.farmerCount = farmerCount;
    }

    public Long getFarmerCount() 
    {
        return farmerCount;
    }

    public void setCountRemark(String countRemark) 
    {
        this.countRemark = countRemark;
    }

    public String getCountRemark() 
    {
        return countRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("countDate", getCountDate())
            .append("farmerCount", getFarmerCount())
            .append("countRemark", getCountRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
